#ifndef SEGE_H
#define SEGE_H
//
#include <QGraphicsPathItem>
#include <QGraphicsEllipseItem>
#include <QGraphicsSceneHoverEvent>
#include <QRectF>
#include "sstructure.h"
#include "segecontrol.h"
//#include "snode.h"
class SNode;
//
class SEge : public QGraphicsPathItem
{
//Q_OBJECT
private:
	
	SEgeControl* dpoint;
	SEgeControl* spoint;
	SEgeControl* epoint;
	
	QString label;

	
public:
	SEge();
	void showControls();
	void updateControls();
	void setNormal();
	SNode* from;
	SNode* to;
};
#endif
